<?php 
$_products = $this->getProductCollection();

/* $collection = Mage::getModel('catalog/product')
					->getCollection()
					->addAttributeToSelect('*')
					->addAttributeToFilter('song_artist_1', '124')
					;

//$_products = $collection->addAttributeToFilter('manufacturer', 'HTC'); 
echo "<pre>"; print_r($collection->getData()); exit;  */
//echo "<pre>"; var_dump(Mage::registry('current_category'));
?>

<?php
$_coreHelper = $this->helper('core');
$_taxHelper  = $this->helper('tax'); 
?>

<div class="block block-compare">
    
    <div class="block-content-home">        
	<?php if(count($_products) > 0): ?>
        <ol id="most-viewed" class="mini-products-list-home">
        <?php foreach ($_products  as $_item): ?>
		<?php $_finalPrice = $_taxHelper->getPrice($_item, $_item->getFinalPrice()); ?>
	    <li class="item">
                <div class="item-img-home">
                    <a class="" href="<?php echo $_item->getProductUrl() ?>">
                            <img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(100) ?>" alt="<?php echo $this->htmlEscape($_item->getName()) ?>"  />
                    </a>
                </div>
                <div class="item-price-home">
                  
                    <?php echo /* $_coreHelper->formatPrice($_finalPrice ).*/$this->getPriceHtml($_item, true) ?>                   
                </div>
                    
                <div class="product-list-name-home">
                        
                            <a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
                        

                </div>
        </li>
        <?php endforeach ?>
        </ol>
        <script>
        	decorateList('most-viewed', 'none-recursive')
        </script>
        
<?php else: ?>
<div class="empty"><?php echo $this->__('No items for this category') ?></div>        
<?php endif ?>
    </div>
   </div> 
